package com.ruoyi.pingan.fymodule.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 平安分账订单分账撤退明细
 * </p>
 *
 * @author wangy
 * @since 2025-06-19
 */
@Data
@TableName("sxo_safety_sep_acc_revoke_detail")
@Schema(name = "SxoSafetySepAccRevokeDetail对象", description = "平安分账订单分账撤退明细")
public class SxoSafetySepAccRevokeDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @Schema(description = "分账id")
    @TableField("sep_acc_revoke_id")
    private String sepAccRevokeId;

    @Schema(description = "分账明细id")
    @TableField("sep_acc_detail_id")
    private String sepAccDetailId;

    @Schema(description = "原分账子单号")
    @TableField("old_sub_order_no")
    private String oldSubOrderNo;

    @Schema(description = "原分账转入子账户")
    @TableField("old_in_sub_acct_no")
    private String oldInSubAcctNo;

    @Schema(description = "分账撤销金额")
    @TableField("sub_acct_cancel_amt")
    private String subAcctCancelAmt;

    @Schema(description = "分账撤销备注")
    @TableField("sub_acct_cancel_remark")
    private String subAcctCancelRemark;

    @Schema(description = "分账撤销保留域")
    @TableField("sub_acct_cancel_reserved_msg")
    private String subAcctCancelReservedMsg;

    @Schema(description = "分账撤退状态（-1:分账撤退失败；0：分账撤退成功,1分账撤销中）")
    @TableField("sep_status")
    private Integer sepStatus;

    @Schema(description = "撤销分账时间")
    @TableField("sep_revoke_time")
    private String sepRevokeTime;

    @Schema(description = "撤销分账查询成功时间")
    @TableField("sep_revoke_succ_time")
    private String sepRevokeSuccTime;

    @Schema(description = "交易流水号")
    @TableField("cnsmr_seq_no")
    private String cnsmrSeqNo;

    @Schema(description = "电商见证宝系统生成的流水号")
    @TableField("jzb_accept_seq_no")
    private String jzbAcceptSeqNo;

    @Schema(description = "错误信息")
    @TableField("error_msg")
    private String errorMsg;

}
